<?php

/**
 * Created by SimplerWorker
 * User: xiaojun.lan
 * Date: 2018/5/7
 * Time: 13:36
 */
class Index
{


    public function aaaa($i){
        $aa = [1, 2, 3, 4, 5];
        if ($i < count($aa)) {
            echo $aa[$i];
            $this->aaaa($i + 1);
        }

    }

}

